<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<style>
		div{
			width: 200px;
			height: 200px;
			background-color: pink;
			border: 1px solid red;
			float: right;
		}
		/* 清除浮动clear */
		/* #dv3{
			clear: both;
		} */
		.left{
			float: left;
		}
		.right{
			float: right;
		}
		</style>
	</head>
	<body>
		<div class="left">dv1</div>
		<div class="left">dv2</div>
		<div class="left" id="dv3">dv3</div>
		<div class="right">dv4</div>
		<div class="right">dv5</div>
		<div class="right">dv6</div>
	</body>
</html>
